package com.hnnou.freshmenappserver.service;

import com.hnnou.freshmenappserver.bean.User;
import com.hnnou.freshmenappserver.bean.vo.UpdatePasswordVO;

import java.util.List;


public interface UserService {
    User login(User user);

    int register(User user);

    List<User> findAll();

    User selectById(Integer id);

    int updatePassword(UpdatePasswordVO updatePasswordVO);
}
